package com.oritsh.dicom.scu;

import org.dcm4che.data.Attributes;
import org.dcm4che.io.DicomInputStream;
import org.dcm4che.net.Association;
import org.dcm4che.net.PDVInputStream;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: zarra
 * Date: 14-2-6
 * Time: 下午2:21
 * Copyright Shanghai Orient Rain Information Technology Co.,Ltd.
 */
public interface DicomStreamStore {
    void store(Association as, Attributes fmi,PDVInputStream data) throws IOException;
    DicomInputStream fetch(String iuid) throws IOException;
    DicomInputStream pop(String iuid) throws IOException;
}
